<div class="post_mini">
    
    <div class="post-title">
    <h4 class=""><a href="/post/<?= $this->post['id']; ?>"><?= $this->post['title']; ?></a></h4>
</div>

<div class="post-info">
    <em><?= $this->__('Published by'); ?>: <a href="/profile/<?= $this->post['user']; ?>"><?= $this->post['user'] ?></a> <?= $this->post['date'] ?></em>
    <em><?= $this->__('Category'); ?>: <a href="/category/<?= $this->post['category_en'] ?>"><?= $this->post['category'] ?></a></em>
    <?php if(count($this->post['tags']) > 0): ?>
    <em><?= $this->__('Tags'); ?>:
        <?php foreach ($this->post['tags'] as $tag): ?>
             <a href="/tag/<?= $tag['tag']; ?>"><?= $tag['tag']; ?></a>  
        <? endforeach; ?>
    </em>
    <?php endif;?>
</div>

<div class="post-tools">
    <em class="icons-views" title="<?= $this->__('Views').': '.$this->post['views']; ?>"></em><em class="em-views"><?= $this->post['views'] ?></em>
<?php if($this->post['showInfo']): ?>
    <a href="/post/edit/<?= $this->post['id']; ?>"><em class="icons-edit" title="<?= $this->__('Edit'); ?>"></em></a>
    <a onclick="return confirm('Вы действительно хотите удалить статью?')" href="/post/delete/<?= $this->post['id']; ?>"><em class="icons-delete" title="<?= $this->__('Delete'); ?>"></em></a>
<?php endif; ?>
</div>
    
    <div class="post-text">
        <?= stripslashes($this->post['description']) ?><br>
        <a class="show-more" href="/post/<?= $this->post['id']; ?>"><?= $this->__('Show more'); ?></a>
    </div>
</div>